package com.ruoyi.cscec.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 调查工单对象 survey_order
 *
 * @author ruoyi
 * @date 2021-09-27
 */
public class SurveyOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 工单状态 */
    @Excel(name = "工单状态")
    private String orderStatus;

    /** 调查单位 */
    @Excel(name = "调查单位")
    private String company;

    /** 事件 */
    @Excel(name = "事件")
    private String event;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 工单处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "工单处理时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date orderDealTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderStatus(String orderStatus)
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus()
    {
        return orderStatus;
    }
    public void setCompany(String company)
    {
        this.company = company;
    }

    public String getCompany()
    {
        return company;
    }
    public void setEvent(String event)
    {
        this.event = event;
    }

    public String getEvent()
    {
        return event;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setOrderDealTime(Date orderDealTime)
    {
        this.orderDealTime = orderDealTime;
    }

    public Date getOrderDealTime()
    {
        return orderDealTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderStatus", getOrderStatus())
                .append("company", getCompany())
                .append("event", getEvent())
                .append("description", getDescription())
                .append("createTime", getCreateTime())
                .append("address", getAddress())
                .append("orderDealTime", getOrderDealTime())
                .toString();
    }
}
